<?php
class TcCobro extends AppModel {

	var $name = 'TcCobro';
	var $validate = array(
		'id' => array('numeric'),
		'descripcion' => array('notempty'),
		'tc_tipo_contrato_id' => array('numeric'),
		'valor' => array('numeric')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'TcTipoContrato' => array(
			'className' => 'TcTipoContrato',
			'foreignKey' => 'tc_tipo_contrato_id',
			'conditions' => '',
			'fields' => 'descripcion',
			'order' => ''
			)
			);

}
?>